package com.alex.core.contants.enums;

/**
 * @author: xc
 * @ClassName: ServerEnvironmentEnum
 * @Date: 2019/10/25 13:36
 * @Description: 服务运行环境
 */
public enum ServerEnvironmentEnum {
    SERVER_ENVIRONMENT_TEST(1,"测试环境"),
    SERVER_ENVIRONMENT_PRODUCT(2,"生产环境");

    private Integer type;
    private String desc;

    ServerEnvironmentEnum(Integer value, String desc) {
        this.type = value;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }
}
